package com.tw;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jooq.JooqAutoConfiguration;
import org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration;

/*配置多个数据源和事务管理需要禁用数据源 jooq 事务管理自动配置
如果不需要多数据源则去除exclude*/


@SpringBootApplication
/*
 * (exclude = {DataSourceAutoConfiguration.class, JooqAutoConfiguration.class,
 * TransactionAutoConfiguration.class})
 */
 
 
		 
public class SpringBootJooqdemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringBootJooqdemoApplication.class, args);
	}

}